﻿using System;
using System.Collections.Generic;
using Fcdbas.Core;
namespace Fcdbas.Platform
{
    /// <summary>
    /// 返回值的参数类型
    /// </summary>
    public class ReturnEventArgs<T> : EventArgs
    {
       protected T returnValue;
		protected bool handled;
        /// <summary>
        /// 是否处理
        /// </summary>
		public SalBoolean Handled
		{
			get
			{
				return this.handled;
			}
			set
			{
				this.handled = value;
			}
		}
        /// <summary>
        /// 返回值
        /// </summary>
		public T ReturnValue
		{
			get
			{
				return this.returnValue;
			}
			set
			{
				this.returnValue = value;
			}
		}
		public ReturnEventArgs()
		{
		}
		public ReturnEventArgs(T returnValue)
		{
			this.returnValue = returnValue;
		}
    }
}
